/* 取消内外边距 */

body,
div,
p,
a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* 浏览器背景颜色 */
    background-color: #010001;
    min-width: 1200px;
}

a {
    /* 取消链接默认下划线 */
    text-decoration: none;
}


/* 固定导航栏 */

.header {
    /* 固定 */
    position: fixed;
    top: 0;
    left: 0;
    /* 数字越高层次越高 */
    z-index: 999;
    width: 100%;
    height: 48px;
    background-color: #010001;
}

.headerContent {
    width: 1200px;
    height: 48px;
    margin: auto;
}

.headerContent img {
    float: left;
    margin-top: 10px;
}

.nav {
    float: right;
    height: 48px;
    /* 如果行高等于高度，则单行高度会垂直居中 */
    line-height: 48px;
}

.nav a {
    color: #a4a4a4;
    margin-left: 35px;
}

.section1 {
    color: pink;
    /* 必须通过../返回上一级再去找图片 */
    background-image: url(../images/section1_bg.jpg);
    /* 让我们背景图片在盒子中水平和垂直居中 */
    background-position: center;
}

.title-box {
    position: absolute;
    width: 100%;
    top: 100px;
}

.title-box p {
    font-size: 50px;
    /* 文字水平居中 */
    text-align: center;
    color: #fff;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.title-box a {
    display: block;
    width: 300px;
    height: 60px;
    background-image: url(../images/links.png);
    margin: auto;
}

.title-box a:hover {
    background-position: -300px 0;
}

.ball1 {
    position: absolute;
    top: 12.7%;
    left: 20%;
    width: 13.2%;
    /* 调用动画 */
    animation: ball 4s linear infinite alternate;
}

.ball2 {
    position: absolute;
    top: 90%;
    left: 65.16%;
    width: 22.3%;
    width: 350px;
    /* 调用动画 */
    animation: ball 6s linear infinite alternate;
}


/* 创建动画 */

@keyframes ball {
    from {
        margin-top: 0;
    }
    to {
        margin-top: -25px;
    }
}

.ship {
    position: absolute;
    top: 40.18%;
    left: 63.96%;
    width: 7.2%;
    /* 设置旋转 */
    /* transform: rotate(30deg); */
    animation: ship 30s linear infinite alternate;
}


/* 创建动画 */

@keyframes ship {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-45deg);
    }
}

.section video {
    width: 100%;
    height: 100%;
}

.word-contnet {
    /* 把文字模块隐藏起来 */
    display: none;
    position: absolute;
    top: 50%;
    left: 18%;
    /* 有加绝对定位 怎么让盒子垂直居中 */
    transform: translateY(-50%);
}

.bigword {
    font-size: 60px;
}

.midword {
    font-size: 36px;
}

.smallword {
    font-size: 16px;
    margin-top: 12px;
}

.section {
    color: #fff;
}

.line {
    width: 28px;
    height: 3px;
    background-color: #5e5e5e;
    margin-top: 20px;
    margin-bottom: 20px;
}

.word-contnet a {
    /* 转换成块级元素 */
    display: block;
    width: 200px;
    height: 48px;
    margin-top: 50px;
    background-image: url(../images/link2.png);
}

.word-contnet a:hover {
    background-position: -200px 0;
}


/* 底部模块开始 */

.footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120px;
    background-color: #131416;
    text-align: center;
    padding-top: 38px;
    color: #4a4a4a;
    line-height: 22px;
    font-size: 12px;
}

.footer img {
    vertical-align: middle;
}

#fp-nav ul li a.active span {
    background: rgba(255, 255, 255, .8);
}